package com.yitiao.designmodel.struct.bridge;

import lombok.Data;

/**
 * 抽象化类
 */

@Data
public abstract class Phone {
    public String name;

    public ASale sale;

    String getInfo() {
        return  name+" "+sale.getType()+" "+sale.getPrice();
    }
}
